/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "测量信息",TableName = "measureinfo")]
    public partial class measureinfo:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="主键")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid id { get; set; }

       /// <summary>
       ///设备Id
       /// </summary>
       [Display(Name ="设备Id")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? device_id { get; set; }

       /// <summary>
       ///设备编号
       /// </summary>
       [Display(Name ="设备编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string deviceNo { get; set; }

       /// <summary>
       ///产生时间
       /// </summary>
       [Display(Name ="产生时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime uploadTime { get; set; }

       /// <summary>
       ///报警标志
       /// </summary>
       [Display(Name ="报警标志")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? alarmFlag { get; set; }

       /// <summary>
       ///目标1距离
       /// </summary>
       [Display(Name ="目标1距离")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? targetDistance1 { get; set; }

       /// <summary>
       ///目标1 SNR
       /// </summary>
       [Display(Name ="目标1 SNR")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? targetSnr1 { get; set; }

       /// <summary>
       ///目标2距离
       /// </summary>
       [Display(Name ="目标2距离")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? targetDistance2 { get; set; }

       /// <summary>
       ///目标2 SNR
       /// </summary>
       [Display(Name ="目标2 SNR")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? targetSnr2 { get; set; }

       /// <summary>
       ///目标3距离
       /// </summary>
       [Display(Name ="目标3距离")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? targetDistance3 { get; set; }

       /// <summary>
       ///目标2 SNR
       /// </summary>
       [Display(Name ="目标2 SNR")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? targetSnr3 { get; set; }

       /// <summary>
       ///原指令字符
       /// </summary>
       [Display(Name ="原指令字符")]
       [MaxLength(512)]
       [Column(TypeName="nvarchar(512)")]
       [Editable(true)]
       public string commandStr { get; set; }

       /// <summary>
       ///记录时间
       /// </summary>
       [Display(Name ="记录时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? createTime { get; set; }

       /// <summary>
       ///设备所属用户
       /// </summary>
       [Display(Name ="设备所属用户")]
       [Column(TypeName="int")]
       public int? CreateID { get; set; }

       
    }
}